System and method for applying deep learning tools to machine vision and interface for the same

ABSTRACT

This invention overcomes disadvantages of the prior art by providing a vision system and method of use, and graphical user interface (GUI), which employs a camera assembly having an on-board processor of low to modest processing power. At least one vision system tool analyzes image data, and generates results therefrom, based upon a deep learning process. A training process provides training image data to a processor remote from the on-board processor to cause generation of the vision system tool therefrom, and provides a stored version of the vision system tool for runtime operation on the on-board processor. The GUI allows manipulation of thresholds applicable to the vision system tool and refinement of training of the vision system tool by the training process. A scoring process allows unlabeled images from a set of acquired and/or stored images to be selected automatically for labelling as training images using a computed confidence score.

RELATED APPLICATIONS

This application is a continuation-in-part of co-pending U.S. patent application Ser. No. 17/117,105, entitled SYSTEM AND METHOD FOR APPLYING DEEP LEARNING TOOLS TO MACHINE VISION AND INTERFACE FOR THE SAME, filed Dec. 9, 2020, which claims the benefit of co-pending U.S. Patent Application Ser. No. 62/945,844, entitled SYSTEM AND METHOD FOR APPLYING DEEP LEARNING TOOLS TO MACHINE VISION AND INTERFACE FOR THE SAME, filed Dec. 9, 2019, the teachings of which are expressly incorporated herein by reference.

FIELD OF THE INVENTION

This invention relates to systems and methods for performing machine vision tasks using deep learning processes and interfaces for training and operating such systems and methods.

BACKGROUND OF THE INVENTION

Machine vision systems (also termed herein “vision systems”) that perform measurement, inspection, alignment of objects and/or decoding of symbology (e.g. bar codes) are used in a wide range of applications and industries. These systems are based around the use of an image sensor, which acquires images (typically grayscale or color, and in one, two or three dimensions) of the subject or object, and processes these acquired images using an on-board or remote, interconnected vision system processor. The processor generally includes both processing hardware and non-transitory computer-readable program instructions that perform one or more vision system processes to generate a desired output based upon the image's processed information. This image information is typically provided within an array of image pixels each having various colors and/or intensities. Various examples of vision system applications include inspection of objects/parts for defects and/or tolerances, classification of parts (e.g. type of part, version, model, etc.), part location within an imaged scene, and/or optical character recognition (OCR). These applications can be applied to a number of industrial tasks including, but not limited to, control various processes—for example moving a robot manipulator/motion stage or gating objects on a moving (e.g. conveyor) line, such as defective part rejection.

It is desirable to apply advanced processes, such as those available using deep learning (e.g. a neural network or other “AI” based systems) computing architectures. Associated with these architectures, are various training procedures and interfaces that can facilitate use.

SUMMARY OF THE INVENTION

This invention overcomes disadvantages of the prior art by providing a vision system and associated method of use, and graphical user interface (GUI), which can employ a camera assembly having an on-board processor of low to modest processing power. At least one vision system tool analyzes image data, and generates results therefrom, based upon a deep learning process. A training process can provide training image data to a processor (optionally) remote from the on-board processor to cause generation of the vision system tool therefrom, and provides a stored version of the vision system tool for runtime operation on the on-board processor. The GUI can allow manipulation of thresholds applicable to the vision system tool and refinement of training of the vision system tool by the training process. A scoring process can allow for unlabeled images from a set of acquired and/or stored images to be selected automatically for labelling as training images in response to computation of an associated confidence score.

In an illustrative embodiment, a vision system, and associated method of operating the same, for use with a camera assembly is provided. A graphical user interface (GUI) can be provided, and can comprise a candidate box that automatically provides one or more candidate training images used to incrementally train one or more deep learning tools and generate results therefrom. The candidate training images can comprise stored images and labelled images from a set of unlabeled images acquired by the camera assembly or from a storage source. A scoring process can allow labelling of one or more of the unlabeled images with interesting features based upon a confidence score assigned to image data input to the vision system. Illustratively, the scoring process can be adapted to generate a confidence score based upon a type of vision system tool employed by the vision system. The vision system tool can be a classification, segmentation or OCR tool, by way of non-limiting example. In association with the classification tool or the segmentation tool, the scoring process can be adapted to generate the confidence score in response to entropy in the image data over output probabilities for classes in the image data, and a high entropy can map to a low confidence score while a low entropy can map to a high confidence score. In association with the OCR tool, the scoring process can be adapted to generate the confidence score in response to a deviation between a user-supplied schema and an actual prediction by the OCR tool. Illustratively, the GUI can be constructed and arranged for manipulation by a non-expert user based upon visual feedback as the user applies inputs to the GUI. The GUI can have dialog boxes arranged to allow entry of an angle of an imaged object. The GUI can have a candidate box that displays the proposed new candidate training images based upon statistical analysis and measurements of image properties. The one or more candidate training images can be used to incrementally train one or more deep learning tools after being selected by a user operating the GUI. The new candidate training images, derived initially from labelling unlabeled images using the scoring process, can be divided based upon a pass/fail inspection criteria using a CNN or deep learning process. The new candidate training images can be divided based upon an overall classification of an imaged object or locations or identities of individual features of the imaged object. The camera assembly can comprise an on-board processor and the one or more deep learning tool(s) are trained on a processor remote from the on-board processor for loading on the on-board processor. The one or more deep learning tools can be based upon a neural network. The graphical representation can comprise at least one of (a) types of non-conforming images, (b) classes of objects in images and (c) locations of non-conforming features on objects. The GUI can define a plurality of stepwise function selections that allow the user to select at least camera setup, training and runtime operation. The GUI can comprise thumbnail images that define the conforming and non-conforming image based upon the threshold.

In an embodiment, a system and method for operating a vision system having a camera assembly and a processor that applies vision system processes image data is provided. One or more candidate training images can be selected automatically, from a runtime image set of initially unlabeled images. The one or more candidate training images can be provided/displayed in a candidate box of a graphical user interface (GUI). The system and method can further enable selection, by a user of the GUI, of one or more candidate training images as at least one passing image or at least one failing image. A further training process can be performed based upon one or more deep learning tool(s) using the selected at least one passing image. A stored version of the one or more deep learning tool(s) for runtime operation can be provided. The selection can be based upon labelling one or more of the unlabeled images with interesting features based upon a confidence score assigned to image data input to the vision system. Illustratively, unlabeled images can be processed to generate a confidence score based upon a type of vision system tool employed by the vision system. The vision system tool can be a classification, segmentation or OCR tool, by way of non-limiting example.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention description below refers to the accompanying drawings, of which:

FIG. 1 is a diagram of a vision system arranged to analyze an imaged object using a vision system tool based upon deep learning computing processes and an associated graphical user interface (GUI) to train the and control runtime analysis of the acquired image data;

FIG. 2 is a block diagram showing a generalized deep learning-based vision system tool for use with the vision system of FIG. 1;

FIG. 3 is a diagram of an exemplary screen display showing a graphical user interface (GUI) according to an exemplary embodiment;

FIG. 4 is a flow diagram showing an exemplary scoring process for use with a vision system classification tool;

FIG. 5 is a flow diagram showing an exemplary scoring process for use with a vision system segmentation tool; and

FIG. 6 is a flow diagram showing an exemplary scoring process for use with a vision system OCR tool.

DETAILED DESCRIPTION I. System Overview

FIG. 1 shows an overview of a vison system arrangement 100 that incorporates a deep learning processing/processor architecture according to an exemplary embodiment. The arrangement 100 includes one or more vision system camera(s) 110, having an associated housing/enclosure 112 that supports an optics package O and an aligned image sensor S of any acceptable type and resolution. The camera 110 is shown acquiring images of a training or runtime object 120, within the camera's field of view (FOV) in an overall imaged scene 122. A processor 130 receives the image data 132 acquired by the sensor (or made available from a storage source 140) and performs desired training and/or runtime analysis operations thereon. The processor 130 (which can define any acceptable architecture—e.g. microprocessor, FPGA, ASIC, etc.) can be partially or entirely contained within the enclosure 112 so that the camera 110 defines a so-called “smart camera” assembly. For example, elements of the processor's functions in a remote computing device 150 and/or 160, interconnected by a wired or wireless link. The computing device can be a server, PC, laptop, tablet, smartphone, cloud computing environment, or combination thereof. Multiple computing devices can also be provided for performing different functions—for example, a cloud or server 160 to implement training and/or other processes, and the depicted computer 150 (e.g. a laptop) to perform local user interface functions. The interface computer can include conventional or custom features, such as a display and/or touchscreen 152, keyboard 154, mouse/touchpad 156, etc. Some of the interface functions can also (or alternatively) be provided directly on the enclosure 112 in the form of touchscreens, buttons, indicators, speakers, etc.

The vision system process(or) 130 includes a plurality of functional processes/ors or modules, which can be widely variable. In general, the processes/ors can include various conventional or custom vision system tools 132—those used in desired applications, including, but not limited to inspection, classification, part location and OCR (described above). The vision system process(or) 130 further includes deep learning processes/ors 134 that run or enhance these tools 132. A variety of hardware platforms can be employed to support deep learning. These can include, but are not limited to, graphical processing units (GPUs), inference hardware (sourced from (e.g.) Movidius of San Mateo, Calif.), and other platforms—for example SIMD processors, etc. The deep learning process(or) can be provided based upon any acceptable commercially available or custom software package(s), and associated, compatible, hardware platforms. One acceptable form of deep learning is instantiated using a convolutional neural network architecture (CNN). Commercially available CNN packages can be sourced from various vendors, such as TensorFlow, Microsoft CNTK, etc. The operation and manipulation of the deep learning process(or) is describe below. The vision system process(or) also includes an interface process(or)/module 136 that drives various training and runtime GUI functions and displays. Operation of the interface process(or), and its associated display(s) is/are described further below.

As described above, both training and runtime deep learning operations can employ stored data 140, which can be retained on the camera and/or a local computing device or on a remote server/cloud computing environment. The stored data can include images, classifiers and templates, as well as other information relevant to operation of the deep learning process(or) 134.

The vision system process(or) 130 further includes a scoring process(or) 138 that allows confidence scores to be generated with respect to input image data 132 that can be used for training candidate images. The scoring process(or) 138 operates to generate a confidence score that falls above or below a given threshold by which the image data is either used to provide a candidate training image, or is discarded. Operational examples of the scoring process are provided below.

With reference to FIG. 2, the deep learning process(or) 134 is shown, schematically in further detail. The process(or) 134, by way of non-limiting example, consists of a convolutional neural network (CNN) 210, according to an exemplary embodiment. Operation of such a CNN is further described in commonly assigned U.S. patent application Ser. No. 16/433,602, entitled SYSTEM AND METHOD FOR FINDING AND CLASSIFYING PATTERNS IN AN IMAGE WITH A VISION SYSTEM, filed Jun. 6, 2019, the teachings of which are incorporated by reference as useful background information.

The depicted CNN 210 is constructed based upon training data, 220, which can be derived from libraries of image features and/or from a series of acquired images of various objects and conditions—for example those having certain orientations, lighting effects, defects, etc. The CNN 210, in runtime, receives image data 230 from runtime objects and applies the constructed CNN to derive appropriate results 240, which are displayed to the user on the GUI, described further below.

FIG. 3 depicts an exemplary display screen 300 in relation to the GUI of the exemplary embodiment. In this depiction, runtime inspection is shown. Broadly stated, the GUI defines a platform for deep learning machine vision applications aimed at the manufacturing and logistics markets. It adds deep learning processes to a guided visual application development environment. In this manner, a more-accurate and robust vision system is provided herein.

The interface screen 300 contains a plurality of windows and dialog boxes, which can be varied widely in content and/or placement in alternate arrangements herein. The (e.g.) top center window 304 shows a current image (and/or graphical representation) of an exemplary training or runtime object 306 in an images scene. As described below, this image can contain a defect or other notable feature 308 that is highlighted as shown. Below this main viewing window 304 is a filmstrip showing a row of thumbnails 307 (e.g. eight thumbnails), each comprising individual images. The images are accompanies by overlying, associated indicia 308 that are color coded (e.g. green or red) to depict whether the image represents a conforming or non-conforming pattern. In the depiction, the exemplary green color (indicative of conforming features), is represented as cross hatching, while the exemplary red color (indicative of non-conforming features) is depicted as gray. A wide range of colors or other (monochromatic/multicolor) patterns can be employed in the GUI to convey different types or levels of information.

The (e.g.) rightmost depicted box 310 defines the stages 312-319 of a guided application development framework, in which the deep learning process(or) can be implemented. For example, the stages can include camera setup 312, fixturing 314, training, using the deep learning network (CNN) 316, runtime object inspection 317 using deep learning, providing and handling of inspection results 318 and communication setup 319 between the camera and various elements of the system.

The connection box 320 allows the user the option to connect the camera processor to a network PC or Cloud for CNN training. It includes dialog boxes for various addresses (MAC, IP, etc.) for use at runtime 322 and/or training time 324. In this manner, the system can be trained initially on a high-powered PC or cloud computing station to accommodate the large-volume processing demanded by a robust CNN. Once initially trained, the system allows incremental improvements to be performed on a lower-powered inference engine or the internally enclosed processor of a smart camera, using incremental learning techniques. These allow the system to adapt to changes over time, or to be rapidly deployed on other production lines with slightly different lighting, cameras, or product variations.

Stated differently, the processor arrangement and communications interface functions are arranged so that the processor located on the camera (i.e. a smart camera assembly) 110, can be reduced in processing power relative to the full requirements for efficiently training a CNN. The construction of the trained CNN (or other deep learning tool) can occur on a more-powerful remote processor (such as a server or cloud computer (160 in FIG. 1)). The trained CNN can then be loaded from the remote computer into the camera's local, on-board, processor 130 for runtime operation. Incremental improvements/updates can be loaded from the remote computer as needed, or processed internally using the lower-power on-board processor.

The interface box 330 relates to setup and configuration of the deep learning-based vision tools. In general, this box allows the user to define the acceptance threshold for images. Notably, such deep learning tools can be configured graphically herein using the exemplary GUI screen 300, with a minimum of explicit parameters. Most internal parameters are estimated intelligently by the underlying CNN and GUI process(or), based on the images and feedback provided by the user. By way of example, dialog boxes are provided to enter object angle 332. A graphical representation 336 is shown, which, in this example, defines the distribution of conforming or “good” (OK) image examples 335 versus non-conforming (defective) or “not good” (NG) image examples. There is an overlap region 338 between the OK and NG images as shown. A filmstrip 339 shows the stream of thumbnail images being trained or analyzed and provides a way to access a view of each in the main window 304. This thumbnail stream 339 allows the user to directly observe the acceptance/scoring threshold also termed “confidence”) that has been set by the user (e.g. using color codes for NG, OK and overlap), and highlights regions of interest on the thumbnail. Images can be scored based upon the threshold/confidence setting. The curves 336, 337 allow for graphical feedback on thresholds for the user.

II. Confidence Score

A candidate box 340 is provided in the screen 300. New unlabeled candidate images for potential inclusion in the training and testing sets (i.e. unlabeled images with interesting features) are proposed (from a pool of unlabeled images) automatically using statistical analysis and measurements of image properties. More particularly, the result of processing an unlabeled image is used by the system and method herein to determine the current trained model's level of confidence for that (new unlabeled) image. Given a collection of unlabeled images, the system can then propose to the user which unlabeled image to label and train next in order to optimally improve the accuracy of the overall model. As a result of this guided process, the user can undertake to label fewer images in order to reach a target accuracy when compared to a random order of labelling in an unguided approach.

Thus, the computed confidence value/score can be used to assist in labelling of images, for eventual use in training, in association with various vision system tools. Such labelled images typically represent distinct/interesting characteristics that provide the best candidates for training of the deep learning process.

The specific metric/process for determining of confidence that is employed by the system and method herein is dependent upon the particular operation that the vision system tool is performing. By way of non-limiting example, the following vision system tools can employ the associated procedures for determining confidence:

A. Classification

By way of non-limiting example, shown in the procedure 400 of FIG. 4, to determine a confidence score in association with input image data (step 410) associated with the use of a classification tool (step 420), the system can compute image entropy over the output probabilities across all classes (step 430). This can be characterized as:

sum_i(−p_i*log(p_i) for p_i=probability of class I;

wherein, high entropy maps to low confidence (decision step 440 and step 450). Conversely, low entropy can map to higher confidence 460.

The classification margin can also be defined by maximum probability−second highest probability;

wherein, small margin maps to low confidence.

For the purpose of the above computations, image entropy can be determined using available tools and processes within the image analysis software. This value, once computed for an image, is provided to the above confidence-determination computation. Note that a low confidence score, in the illustrative examples herein, implies that image data should be discarded and a high confidence score implies that image data should be noted for potential labelling as a candidate image.

B. Segmentation:

By way of further non-limiting example, shown in the procedure 500 of FIG. 5, to determine a confidence score for the image data provided (step 510) in association with a segmentation tool (step 520), the system can (similar to classification) compute image entropy over the output probabilities across all classes (step 530). More particularly for a segmentation tool, the system first computes a per-pixel entropy. This set of values is then used to compute an average over all pixels that is characterized as the image entropy. The system computes per-pixel entropy in this example because, unlike the above-described classification tool, which outputs a single vector of class probabilities for the entire image, the segmentation tool outputs as many vectors of class probabilities as there are image pixels. This computation can be further characterized as:

sum_i(−p_i*log(p_i) for p_i=probability of class I;

wherein, high entropy maps to low confidence (decision step 540 and step 550). Conversely, low entropy maps to high confidence (step 560).

The classification margin is defined by maximum probability−second highest probability;

wherein, a small margin maps to low confidence, and wherein, the entropy/margin in this example is computed for each output pixel and then averaged over all pixels in the image.

C. OCR/Detection:

By way of further non-limiting example, to determine a confidence score of image data (step 610) in association with an optical character recognition (OCR) and/or detection tool (step 620), the system, in the procedure 600 of FIG. 6, can compute deviation between user-supplied schema and the tool's actual prediction and how well this computation fits that schema (step 630)—for example, for an OCR process, the length and syntax of an expected string of characters, in which high deviation maps to low confidence (decision step 640 and step 650). Conversely, a low deviation maps to high confidence (step 660). In relation to the average magnitude of sub-threshold background activation, characters or objects are only detected by the OCR process if the evidence computed for each location in the image crosses a given threshold. Hence, the number and extent of regions where this evidence comes close (within a defined margin) to that threshold can be used as a measure of confidence. Accordingly the detection of many and/or large regions maps to low confidence.

D. Combination

According to a non-limiting example, the system can employ a weighted combination of two (or more) of the score-determination techniques in sections A-C above. The final confidence score, based upon the combination is used by the system herein to determine if an image falls within the OK or NG category for use in downstream procedures. More generally, the confidence score according to any of the procedures in sections A-D above can be used by the system to filter out images that do not add to the overall training performed by the deep learning/CNN procedure. The threshold at which a confidence score results categorization of image data for use in training can be set automatically or by a user input to the GUI. The threshold can vary depending upon the tool.

It should be clear to those of skill that other techniques and/or metrics can be employed to determine confidence score herein.

III. Deep Learning Process

Images are pulled from the runtime image set and can form the basis of further training/refinement by expanding the training set or the test set (below). As shown in this example, the candidates are divided into OK and NG categories as shown 342, 344 by the processor, based upon the trained CNN/deep learning process. The depicted basic pass/fail type of inspection is one possible implementation of the system and method herein. Alternatively (or additionally), some further categories can include overall classification of an object or the locations and/or identities of individual object features, among other possible tasks. As described elsewhere herein, the system is adapted to incrementally train itself using these images 342, 344 so as to improve performance over time, or as new use cases (new orientations, lighting, defects, etc.) are identified by the user or via automated mechanisms.

Sets of images are managed by a training box 360 and testing box 350. The training box 360 contains a set 362 of good/OK images that define the desired features for the object. Testing box 350 includes depicted sets of OK and NG images 352, 354. More generally, the system uses deep learning to suggest image classification into such good/bad (OK/NG), or other, categories. During training and testing, the user merely confirms graphically that the classification is correct, and adjusts it if not by categorizing the image's particular class via the interface. Alternatively, or additionally, such adjustment can also include the addition or repositioning of an imaged object feature and/or the highlighting of an image area through (e.g.) pixelwise drawing tools. By way of a non-limiting adjustment example, if the user visually observes a defective image classified as OK, he/she can click and re-categorize it as NG. Conversely, a slightly defective, or otherwise good, image may not meet the threshold to be rejected, and can be classified as OK. This is used by the CNN to reorient the decision-making process as appropriate.

It should be clear that the above-described interface screen is arranged with minimal numerical and/or textual input required of the user. The training and runtime operations can be largely manipulated by visual observation, reviewing and classifying images as appropriate to the project. To the extent more-detailed information is required by the system, it can be generated automatically using various factory preset, thresholds (or those set up by an installer/skilled operator) and/or pre-existing algorithms.

The interface screen 300 can also provide pre-trained tools. These tools can be adapted to recognize common use cases/examples of images (for example, hexagonal bolt outlines, etc.) or can be custom trained (by (e.g.) a skilled operator or the factory) to identify specific features related to the user—for example, user-specific weld features, specialized threads, etc. The interface can allow the user to, essentially fine-tune the training to provide a completed CNN/deep learning tool. This fine tuning can be performed on the camera's local processor 130 so that processing power can remain low compared with fully featured computing environments (e.g. servers and cloud computing).

Another feature facilitated by the system, herein is the ability to store images locally within (or associated with) the on-board processor 130, and perform an initial categorization (e.g. OK/NG) concurrent with the time of acquisition by the camera. Such images can be subsequently presented to the user for review using the interface 300 and then loaded on the remote computing environment for training (or refinement) of the CNN. The categorizing of acquired images prior to review by the user simplifies his/her task and requires only correcting those that are potentially mis-categorized (i.e. those in the overlap region 338). Additionally, the system and method can be arranged so that image features are divided into separate types or categories of defects in addition to a basic OK/NG—for example surface defects, missing pieces, etc. As described more generally above, various classifiers can also be defined within the deep learning environment to categorize images into different types or classes that can reveal what the object is—for example Part A or Part B, 2-inch bolt or 3-inch bolt, left door handle or right door handle, full or empty, etc. Moreover, the image data can be broken down as to where on an object the defect resides. These additional defects, classes and/or locations can be presented as additional sets on the GUI in addition to (or as an alternative to) OK and NG, as shown.

IV. Conclusion

It should be clear that the system and method described herein advantageously allows a (e.g.) smart camera of low or modest computing power to operate one or more a robustly trained deep learning vision system tool(s) by handling initial training remote from the camera's on-board processor, and providing the user with an a GUI that simplifies training and refinement with visually based programming of the system. Trained deep learning tools then are run on the camera processor, and refined as needed thereby (e.g. as new use cases arise), using the GUI. Overall, the system and method effectively leverages reduced camera processing power and simplifies setup and handling for the user. Additionally, the system and method herein generally provides a highly user-friendly interface environment (leveraged by deep learning tools which provide visual feedback) that allows for ease of training, testing and runtime operation by users that have minimal skill or expertise. Such users can be characterized as “non-expert” users as defined herein—that is, those who have not received extensive and/or specialized training in the setup and/or operation of a machine vision system.

The foregoing has been a detailed description of illustrative embodiments of the invention. Various modifications and additions can be made without departing from the spirit and scope of this invention. Features of each of the various embodiments described above may be combined with features of other described embodiments as appropriate in order to provide a multiplicity of feature combinations in associated new embodiments. Furthermore, while the foregoing describes a number of separate embodiments of the apparatus and method of the present invention, what has been described herein is merely illustrative of the application of the principles of the present invention. For example, as used herein the terms “process” and/or “processor” should be taken broadly to include a variety of electronic hardware and/or software based functions and components (and can alternatively be termed functional “modules” or “elements”). Moreover, a depicted process or processor can be combined with other processes and/or processors or divided into various sub-processes or processors. Such sub-processes and/or sub-processors can be variously combined according to embodiments herein. Likewise, it is expressly contemplated that any function, process and/or processor herein can be implemented using electronic hardware, software consisting of a non-transitory computer-readable medium of program instructions, or a combination of hardware and software. Additionally, as used herein various directional and dispositional terms such as “vertical”, “horizontal”, “up”, “down”, “bottom”, “top”, “side”, “front”, “rear”, “left”, “right”, and the like, are used only as relative conventions and not as absolute directions/dispositions with respect to a fixed coordinate space, such as the acting direction of gravity. Additionally, where the term “substantially” or “approximately” is employed with respect to a given measurement, value or characteristic, it refers to a quantity that is within a normal operating range to achieve desired results, but that includes some variability due to inherent inaccuracy and error within the allowed tolerances of the system (e.g. 1-5 percent). Accordingly, this description is meant to be taken only by way of example, and not to otherwise limit the scope of this invention. 

What is claimed is:
 1. A vision system for use with a camera assembly comprising: a graphical user interface (GUI) having a candidate box that automatically provides one or more candidate training images used to incrementally train one or more deep learning tools and generate results therefrom, wherein the candidate training images comprise labelled images from a set of unlabeled images acquired by the camera assembly or from a storage source; and a scoring process that allows labelling one or more of the unlabeled images with interesting features based upon a confidence score assigned to image data input to the vision system.
 2. The vision system as set forth in claim 1 wherein the scoring process is adapted to generate a confidence score based upon a type of vision system tool employed by the vision system.
 3. The vision system as set forth in claim 2 wherein the vision system tool is a classification, segmentation or OCR tool.
 4. The vision system as set forth in claim 3 wherein, in association with the classification tool or the segmentation tool, the scoring process is adapted to generate the confidence score in response to entropy in the image data over output probabilities for classes in the image data.
 5. The vision system as set forth in claim 4 wherein high entropy maps to a low confidence score and low entropy maps to a high confidence score.
 6. The vision system as set forth in claim 3 wherein, in association with the OCR tool, the scoring process is adapted to generate the confidence score in response to a deviation between a user-supplied schema and an actual prediction by the OCR tool.
 7. The system of claim 1 wherein the GUI is constructed and arranged for manipulation by a non-expert user based upon visual feedback as the user applies inputs to the GUI.
 8. The system of claim 7 wherein the GUI has dialog boxes arranged to allow entry of an angle of an imaged object.
 9. The system of claim 8 wherein the GUI has a candidate box that displays the proposed new candidate training images based upon statistical analysis and measurements of image properties.
 10. The system of claim 9 wherein the one or more candidate training images is used to incrementally train one or more deep learning tools after being selected by a user operating the GUI.
 11. The system of claim 9 wherein the new candidate training images are divided based upon a pass/fail inspection criteria using a CNN or deep learning process.
 12. The system of claim 9 wherein the new candidate training images are divided based upon an overall classification of an imaged object or locations or identities of individual features of the imaged object.
 13. The system of claim 1 wherein the camera assembly comprises an on-board processor and the one or more deep learning tool(s) are trained on a processor remote from the on-board processor for loading on the on-board processor.
 14. The system of claim 1 wherein the one or more deep learning tools are based upon a neural network.
 15. The system of claim 14 wherein the graphical representation comprises at least one of (a) types of non-conforming images, (b) classes of objects in images and (c) locations of non-conforming features on objects.
 16. The system of claim 15 wherein the GUI defines a plurality of stepwise function selections that allow the user to select at least camera setup, training and runtime operation.
 17. The system of claim 16 wherein the GUI comprises thumbnail images that define the conforming and non-conforming image based upon the threshold.
 18. A method for operating a vision system having a camera assembly and a processor that applies vision system processes image data, comprising the steps of: selecting one or more candidate training images, automatically, from a runtime image set of unlabeled images; providing the one or more candidate training images in a candidate box of a graphical user interface (GUI); enabling selection, by a user of the GUI, of one or more candidate training images as at least one passing image or at least one failing image; performing a further training process based upon one or more deep learning tool(s) using the selected at least one passing image; providing a stored version of the one or more deep learning tool(s) for runtime operation; and wherein the step of selecting comprises labelling one or more of the unlabeled images with interesting features based upon a confidence score assigned to image data input to the vision system.
 19. The method as set forth in claim 18, further comprising, scoring the unlabeled images to generate a confidence score based upon a type of vision system tool employed by the vision system.
 20. The method as set forth in claim 19 wherein the vision system tool is a classification, segmentation or OCR tool. 